package csel.model;

public class Weapon extends EquippableItem implements java.io.Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int offenseBonus;

	public Weapon(int offenseBonus)
	{
		this.offenseBonus = offenseBonus;
		goesOn = "hand";
		setTypeId("weapon");
	}

	public int applyOffenseBonus(int start)
	{
		return (offenseBonus + start);
	}

	public int applyArmorBonus(int start)
	{
		return (start);
	}
}
